package com.learner.service;

import com.learner.entity.User;

import java.util.List;
import java.util.Map;

/**
 * @Auther: qho
 * @Date: 2018/10/12 00:30
 * @Description:
 */
public interface UserService {

    public User login(User user);

    public List<User> find(Map<String, Object> map);

    public int delete(Integer id);

    public int add(User user);

    public int update(User user);

    public User loadById(Integer id);

    public boolean existUserByDeptId(Integer deptId);
}
